products = []
with open('products.csv', 'r', encoding='utf-8') as f:
    for line in f:
        if '商品,价格' in line:
            continue
        name, price = line.strip().split(',')
        products.append([name, price])  # name,price 是字符串，需要加上中括号，才能放到清单中
print(products)
